FROM openjdk:8-jdk-alpine
RUN mkdir -p /home/commerce
RUN echo "Asia/Shanghai" > /etc/timezone
COPY target/E-Commerce-Java-1.0-SNAPSHOT.jar /home/commerce/

ENTRYPOINT ["java","-jar","/home/commerce/E-Commerce-Java-1.0-SNAPSHOT.jar"]

EXPOSE 5000

